From f4cff4386866a3e66266bbe18a1f3dd0c82406a9 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 4 Aug 2011 23:26:53 +0000 Subject: [PATCH] Followup r89564 Switch from newFromTitle to the new newFromRow in r93935 --- includes/api/ApiFeedContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiFeedContributions.php b/includes/api/ApiFeedContributions.php index ef6feccfac..c1e6ff6e07 100644 --- a/includes/api/ApiFeedContributions.php +++ b/includes/api/ApiFeedContributions.php @@ -99,7 +99,7 @@ class ApiFeedContributions extends ApiBase { if( $title ) { $date = $row->rev_timestamp; $comments = $title->getTalkPage()->getFullURL(); - $revision = Revision::newFromTitle( $title, $row->rev_id ); + $revision = Revision::newFromRow( $row); return new FeedItem( $title->getPrefixedText(), -- 2.20.1